package service.Factory;

import service.AddressService;
import service.CollectionService;
import service.NoticeService;
import service.OrderItemService;
import service.OrderService;
import service.ProductService;
import service.SaleService;
import service.ShoppingCartService;
import service.UserService;
import service.impl.AddressServiceImpl;
import service.impl.CollectionServiceImpl;
import service.impl.NoticeServiceImpl;
import service.impl.OrderItemServiceImpl;
import service.impl.OrderServiceImpl;
import service.impl.ProductServiceImpl;
import service.impl.SaleServiceImpl;
import service.impl.ShoppingCartServiceImpl;
import service.impl.UserServiceImpl;

public class ServiceFactory {
	static public UserService getUserServiceInstance () {
		return new UserServiceImpl();
	}
	
	static public AddressService getAddressServiceInstance () {
		return new AddressServiceImpl();
	}
	
	static public ProductService getProductServiceInstance () {
		return new ProductServiceImpl();
	}
	
	static public OrderService getOrderServiceInstance () {
		return new OrderServiceImpl();
	}
	
	static public OrderItemService getOrderItemServiceInstance () {
		return new OrderItemServiceImpl();
	}
	
	static public NoticeService getNoticeServiceInstance () {
		return new NoticeServiceImpl();
	}
	
	static public SaleService getSaleServiceInstance () {
		return new SaleServiceImpl();
	}
	
	static public ShoppingCartService getShoppingCartServiceInstance () {
		return new ShoppingCartServiceImpl();
	}
	
	static public CollectionService getCollectionServiceInstance () {
		return new CollectionServiceImpl();
	}
}
